package com.xiaoyu.lanling.common

object Constant {

    const val PARAM_UID = "uid"
    const val PARAM_INDEX = "index"
    const val PARAM_CHAT_ID = "chat_id"
    const val PARAM_TYPE = "type"
    const val PARAM_MESSAGE_ID = "message_id"
    const val PARAM_FROM = "from"
    const val PARAM_URL = "url"

    object WebAction {
        const val CLOSE_ACTIVITY_URL = "yizhoucp://close"
    }

    object IntentKey {
        const val KEY_REPORT_OBJECT_ID = "key_report_object_id"
        const val KEY_REPORT_REASON = "key_report_reason"
        const val KEY_USER = "key_user"
        const val KEY_UID = "uid"
        const val KEY_MAIN_PAGE_INDEX = "key_main_page_index"
        const val KEY_CHAT_CALL_IS_CALLER = "key_chat_call_is_caller"
        const val KEY_CHAT_CALL_CALL_PARAM = "key_chat_call_call_param"
        const val KEY_CHAT_CALL_IS_RECEIVE = "key_chat_call_is_receive"
        const val KEY_COIN_PRODUCT_ITEM = "key_coin_product_item"
        const val KEY_USER_PROFILE_SOLILOQUY = "key_user_profile_soliloquy"
        const val KEY_CHECK_IN_INFO = "key_check_in_info"
        const val KEY_CHECK_IN_MODEL = "key_check_in_model"
        const val KEY_PRIZE_KEY = "key_prize_key"
        const val KEY_PRIZE_JSON_DATA = "key_prize_json_data"
        const val KEY_PHOTO_SELECTED_IMAGE_URL = "key_photo_selected_image_url"
        const val KEY_PHOTO_IMAGE_URL_LIST = "key_photo_image_url_list"
        const val KEY_PHOTO_ORIGINAL = "key_photo_original"
        const val KEY_MOMENT_MEDIA_URL_LIST = "key_moment_media_url_list"
        const val KEY_COIN_PRODUCT_ID = "key_coin_product_id"
        const val KEY_COIN_EXCHANGE_ITEM = "key_coin_exchange_item"
        const val KEY_LOGIN_CELLPHONE = "key_login_cellphone"
        const val KEY_LOGIN_OPEN_ID = "key_login_open_id"
        const val KEY_GIFT_LIST = "key_gift_list"
        const val KEY_INTIMACY = "key_intimacy"
        const val KEY_NAME = "key_name"
        const val KEY_LOGIN_TYPE = "key_login_type"
        const val KEY_QUICK_ACCOST_USERS = "key_quick_accost_users"
        const val KEY_POSITION = "key_position"
        const val KEY_VIP_PRODUCT = "key_vip_product"
        const val KEY_VIP_PRODUCT_SELECTED = "key_vip_product_selected"
        const val KEY_VISITOR_COUNT = "key_visitor_count"
        const val KEY_MOMENT_DETAIL = "key_moment_detail"
        const val KEY_FEED_ID = "key_feed_id"
        const val KEY_NOTICE_PAGE_INDEX = "key_init_notice_page_index"
        const val KEY_GUARD_TYPE = "key_guard_type"
        const val KEY_GUAREE = "key_guardee"
        const val KEY_GUARER = "key_guarder"
        const val KEY_COIN_NUM = "key_coin_num"
    }

    object MMKVKey {
        const val KEY_FEED_PUBLISH_DRAFT_PREFIX = "feed_publish_draft_"
        const val KEY_USER_AND_PRIVACY_PROTOCOL_AGREE = "key_user_and_privacy_protocol_agree"
        const val KEY_HAS_PROFILE = "key_has_profile"
        const val KEY_GLOBAL_CONFIG_LAST_VERSION_NAME = "key_global_config_last_version_name"
        const val KEY_HAS_SHOW_VERIFY_AND_VOICE_DIALOG = "key_has_show_full_verify_and_vice_dialog"
        const val KEY_HAS_SHOW_REWARD_TIP_DIALOG = "key_has_show_reward_tip_dialog"
        const val KEY_PRIZE_DO_NOT_REMIND = "key_prize_do_not_remind"
        const val KEY_NOTIFICATION_SERVICE_ENABLE = "key_notification_service_enable"
    }

    object GlobalViewTagDefine {
        const val VIEW_TAG_FOR_IMAGE_KEY = 10
        const val VIEW_TAG_FOR_USER = 11
        const val VIEW_TAG_FOR_UID = 12
        const val VIEW_TAG_FOR_CHAT_ID = 13
        const val VIEW_TAG_FOR_URL = 14
        const val VIEW_TAG_FOR_URL_LIST = 15
        const val VIEW_TAG_FOR_GIFT = 16
        const val VIEW_TAG_FOR_BALANCE = 17
        const val VIEW_TAG_FOR_ADDRESS = 18
    }

    object From {
        const val USER = "user"
        const val CHAT = "chat"
        const val VOICE_MATCH = "voice_match"
        const val VIDEO_CALL = "video_call"
        const val VIDEO_MATCH = "video_match"
        const val GREET = "greet"
        const val COIN_CHARGE = "coin_charge"
        const val VIP_CENTER = "vip_center"
        const val VISITOR = "visitor"
        const val GUARD_LIST = "guard_list"
        const val MISSION = "mission"
        const val PUSH = "push"
        const val HOME = "home"
    }

    object RequestCode {
        const val LOCATION = 1
        const val SETTINGS_OVERLAY_PERMISSION = 2
    }

    object FeedbackType {
        const val FEEDBACK = "feedback"
    }

    object MessageAttrsKey {
        const val FIRST_PICTURE = "first_picture"
        const val LOCAL_FIRST_PICTURE = "local_first_picture"
        const val THUMB_WIDTH = "thumb_width"
        const val THUMB_HEIGHT = "thumb_height"
        const val GIFT = "gift"
        const val RISK_INFO = "riskInfo"
    }

    object LoginType {
        const val WECHAT = "wechat"
        const val CELLPHONE = "cellphone"
    }

    object ShareConfig {
        const val SHARE_LOGO_URL = "https://nuanchat.oss-cn-hangzhou.aliyuncs.com/res/drawable/logo.png"
        const val SHARE_QQ_IS_QZONE_KEY = "share_is_qzone"
        const val SHARE_QQ_TYPE_KEY = "share_qq_type"
        const val SHARE_QQ_TYPE_IMAGE_KEY = "share_qq_type_image"
        const val SHARE_QQ_URL_KEY = "share_qq_url"
        const val SHARE_QQ_TITLE_KEY = "share_qq_title"
        const val SHARE_QQ_TEXT_KEY = "share_qq_text"
        const val SHARE_QQ_IMAGE_KEY = "share_qq_image"
    }
}